package com.gg.common.util;

import java.util.LinkedHashMap;
import java.util.Map;

public class FilterChainMapBuilder {

    public Map<String,String> getCompetenceMap() {
        Map<String,String> map = new LinkedHashMap<String,String>();
        map.put("/loginPage/**","anon");
        map.put("/login.action","anon");//登入方法放行
        map.put("/registerAccount.action","anon");//注册方法放行
        map.put("/searchQueryUsersAccount.action","anon");//查询账号是否存在方法放行
        map.put("/login","logout");
        map.put("/**","authc");
        return map;
    }
}
